# ZYBO Pin Assignments
############################
# On-board Slide Switches  #
############################
set_property PACKAGE_PIN G15 [get_ports sw_4bit_tri_i[0]]
set_property IOSTANDARD LVCMOS33 [get_ports sw_4bit_tri_i[0]]
set_property PACKAGE_PIN P15 [get_ports sw_4bit_tri_i[1]]
set_property IOSTANDARD LVCMOS33 [get_ports sw_4bit_tri_i[1]]
set_property PACKAGE_PIN W13 [get_ports sw_4bit_tri_i[2]]
set_property IOSTANDARD LVCMOS33 [get_ports sw_4bit_tri_i[2]]
set_property PACKAGE_PIN T16 [get_ports sw_4bit_tri_i[3]]
set_property IOSTANDARD LVCMOS33 [get_ports sw_4bit_tri_i[3]]

############################
# On-board leds            #
############################
set_property PACKAGE_PIN M14 [get_ports led_4bit_tri_o[0]]
set_property IOSTANDARD LVCMOS33 [get_ports led_4bit_tri_o[0]]
set_property PACKAGE_PIN M15 [get_ports led_4bit_tri_o[1]]
set_property IOSTANDARD LVCMOS33 [get_ports led_4bit_tri_o[1]]
set_property PACKAGE_PIN G14 [get_ports led_4bit_tri_o[2]]
set_property IOSTANDARD LVCMOS33 [get_ports led_4bit_tri_o[2]]
set_property PACKAGE_PIN D18 [get_ports led_4bit_tri_o[3]]
set_property IOSTANDARD LVCMOS33 [get_ports led_4bit_tri_o[3]]

############################
# On-board BTN0 Push-button#
############################
set_property PACKAGE_PIN R18 [get_ports BTN0_tri_io[0]]
set_property IOSTANDARD LVCMOS33 [get_ports BTN0_tri_io[0]]

########################################################
# On-board LED LD4 (in user's manual is shown as LD12  # 
# constraint not required as it is connected to the    #
# dedicated pin on PS                                  #
########################################################
